package com.example.springboot0507.basic.annotation;

import java.lang.annotation.*;

/**
 * Request JSON 参数注解
 * @create: 2019-09-02 09:50
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestJson {

    /**
     * The name of the request parameter to bind to.
     * @return
     */
    String value() default "";


    /**
     * The default value to use as a fallback when the request parameter is
     * not provided or has an empty value.
     * @return
     */
    String defaultValue() default "";
}
